package com.api.oa.model.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class YQMedCareVO {

    private String medName;//varchar(255) DEFAULT NULL COMMENT '姓名',
    private Integer medSex;//int DEFAULT NULL COMMENT '性别' 0 女 1 男,
    private String medFace;//varchar(255) DEFAULT NULL COMMENT '照片：（用于人脸识别）',
    private String medIdCard;//varchar(18) DEFAULT NULL COMMENT '身份证：（主键）',
    private String medPhone;//varchar(11) DEFAULT NULL COMMENT '手机号：（作为登陆账号，不可重复）',
    private Integer medRole;//varchar(255) DEFAULT NULL COMMENT '身份：[0 医生,1 护士,2 护工]',
    private String medIns;//varchar(255) DEFAULT NULL COMMENT '机构',
    private String medCert;//varchar(255) DEFAULT NULL COMMENT '证书URL',
    private String medCertCode;//varchar(255) DEFAULT NULL COMMENT '证书编码',
    private Integer disabled;//int DEFAULT NULL COMMENT '禁用', 0启用 1禁用,
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;//datetime DEFAULT NULL COMMENT '创建时间',
    private Long userId;//用户ID
    private String insName;//机构名称

    @Override
    public String toString() {
        return "YQMedCare{" +
                "medName='" + medName + '\'' +
                ", medSex=" + medSex +
                ", medFace='" + medFace + '\'' +
                ", medIdCard='" + medIdCard + '\'' +
                ", medPhone='" + medPhone + '\'' +
                ", medRole='" + medRole + '\'' +
                ", medIns='" + medIns + '\'' +
                ", medCert='" + medCert + '\'' +
                ", medCertCode='" + medCertCode + '\'' +
                ", disabled=" + disabled +
                ", createdAt=" + createdAt +
                '}';
    }
}
